package com.pieces
{
	public class Coor
	{
		private var _value:int = 0;
		
		public function Coor(val:int)
		{
			_value = val;
		}
		
		public function get value():int{
			return _value;
		}
		
		public function set value(val:int):void{
			_value = val;
		} 
		
		public function inc():void{
			_value++;
		}
		
		public function add(value:int):void{
			_value = _value + value;
		}
	}
}